export const JsonData = {
  COMMON_DOC_TREE: [
    // 节点树数据，这是一个例子数据
    {
      id: 107,
      label: "实施分享-调度",
      code: 878880959774976,
      children: [
        {
          id: 280,
          label: "测试节点关系",
          code: 890061928055040,
          children: null,
        },
        {
          id: 279,
          label: "实施测试",
          code: 887161544818944,
          children: null,
        },
      ],
    },
  ],
  COMMON_WORK_DATA: [
    //画布作业数据，这个数据咱们自己定义就好了，参数名和里面的结构根据自己的项目来哈，我放了一个少的作业做展示，这里我就不粘完整的过来了，我的有两千多行呢
    {
      processPagingQueryVO: {
        id: 284,
        code: 887161544818944,
        name: "测试1",
        releaseState: "OFFLINE",
        releaseStateCN: "下线",
        projectCode: 878880959774976,
        description: "",
        createTime: "2022-11-23 18:33:22",
        updateTime: "2022-11-24 09:32:03",
        locations:
          '[{"x":-270,"y":-120,"taskCode":"979260953231616"},{"x":-460,"y":60,"taskCode":"979273720905984"}]',
      },
      taskDefinition: [
        {
          id: 756,
          code: 979260953231616,
          name: "5-耐药运营统计",
          version: 1,
          description: "",
          projectCode: 878880959774976,
          userId: 1,
          taskType: "DLINK",
          taskParams: {
            id: 43,
            code: 43,
            name: "5-耐药运营统计",
            note: null,
            port: 6379,
            type: "",
            alias: "5-耐药运营统计",
            jarId: null,
            mqUrl: "192.168.128.103",
            state: 0,
            config: null,
            dialect: "FlinkSql",
            enabled: true,
            fragment: true,
            password: "",
            username: "",
            clusterId: 276,
            statement: null,
            checkPoint: 0,
            createTime: "2021-12-07 17:40:36",
            databaseId: null,
            httpMethod: "POST",
            httpParams: [
              { prop: "id", value: "43", httpParametersType: "PARAMETER" },
              { prop: "code", value: 43, httpParametersType: "PARAMETER" },
              {
                prop: "projectCode",
                value: "111",
                httpParametersType: "PARAMETER",
              },
            ],
            savepoints: null,
            updateTime: "2022-06-09 19:44:35",
            clusterName: null,
            parallelism: 1,
            projectCode: "111",
            statementSet: false,
            savePointPath: null,
            connectTimeout: 0,
            incrementConfig: null,
            savePointStrategy: null,
            clusterConfigurationId: null,
          },
          flag: "YES",
          taskPriority: "MEDIUM",
          workerGroup: "default",
          environmentCode: -1,
          failRetryTimes: 0,
          failRetryInterval: 0,
          timeoutFlag: "CLOSE",
          timeoutNotifyStrategy: null,
          timeout: 0,
          delayTime: 0,
          resourceIds: "",
          createTime: "2022-11-23 18:35:53",
          updateTime: "2022-11-23 18:35:53",
          callTaskId: 43,
          dependence: "",
        },
        {
          id: 757,
          code: 979273720905984,
          name: "病案首页任务1",
          version: 1,
          description: "",
          projectCode: 878880959774976,
          userId: 1,
          taskType: "MONITOR",
          taskParams: {
            jobId: 22,
            jobTheme: "病案首页",
            jobName: "病案首页任务1",
            strategy: "全量",
            httpMethod: "GET",
            connectTimeout: 0,
            port: 6379,
            mqUrl: "192.168.128.103",
            username: "",
            password: "",
            httpParams: [],
          },
          flag: "YES",
          taskPriority: "MEDIUM",
          workerGroup: "default",
          environmentCode: -1,
          failRetryTimes: 0,
          failRetryInterval: 0,
          timeoutFlag: "CLOSE",
          timeoutNotifyStrategy: null,
          timeout: 0,
          delayTime: 0,
          resourceIds: "",
          createTime: "2022-11-23 18:48:52",
          updateTime: "2022-11-23 18:48:52",
          callTaskId: 22,
          dependence: "",
        },
      ],
      taskRelation: [
        {
          id: 1018,
          name: "",
          processDefinitionVersion: 4,
          projectCode: 878880959774976,
          processDefinitionCode: 887161544818944,
          preTaskCode: 0,
          preTaskVersion: 0,
          postTaskCode: 979260953231616,
          postTaskVersion: 1,
          conditionType: "NONE",
          conditionParams: {},
          createTime: "2022-11-24 09:32:03",
          updateTime: "2022-11-24 09:32:03",
        },
        {
          id: 1019,
          name: "",
          processDefinitionVersion: 4,
          projectCode: 878880959774976,
          processDefinitionCode: 887161544818944,
          preTaskCode: 979260953231616,
          preTaskVersion: 0,
          postTaskCode: 979273720905984,
          postTaskVersion: 1,
          conditionType: "NONE",
          conditionParams: {},
          createTime: "2022-11-24 09:32:03",
          updateTime: "2022-11-24 09:32:03",
        },
      ],
    },
  ],
};
